//
//  CZQSupermarketViewController.m
//  LoveBeer
//
//  Created by 崔正强 on 17/4/27.
//  Copyright © 2017年 崔正强. All rights reserved.
//

#import "CZQSupermarketViewController.h"
#import "CZQUnLoginAddressView.h"
#import "CZQLoginManager.h"

@interface CZQSupermarketViewController ()

@end

@implementation CZQSupermarketViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    if (!_LoginMgr.isLogin) {
        [self setUnloginAddressView];
        return;
    }

}

#pragma mark
#pragma mark - 未登录界面
- (void)setUnloginAddressView{
    CZQUnLoginAddressView *unLoginView = [[CZQUnLoginAddressView alloc] initWithFrame:self.view.bounds];
    
    [self.view addSubview:unLoginView];
    
    unLoginView.viewController = self;
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
